package cate.common.table.res.racebadge.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

public class RaceBadgeLevelUpRow extends ERow {
    public int level;

    public int camp;

    public String consumeStr;

    public int value;

    public int maxValue;

    public String attrStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.level = xrw.getInteger("等级");
        this.camp = xrw.getInteger("族徽类型");
        this.consumeStr = xrw.getString("消耗材料");
        this.value = xrw.getInteger("每次注能", 1);
        this.maxValue = xrw.getInteger("注能上限");
        this.attrStr = xrw.getString("提升属性");
        this.id = this.camp * 1000 + level;
    }
}
